package cn.web.tunnelrobot.util;

public class PlanProgress {
    public String planProgress(float x) {
        if (x==0.0) {
            return "正常";
        } else if (x > 0) {
            return "超前" + x / 1000 + "公里";
        } else {
            return "滞后" + (-x / 1000) + "公里";
        }
    }
}